#ifndef SPAGESERVICE_H
#define SPAGESERVICE_H

#include <QObject>
#include <QImage>

namespace onechchy
{
    class SPageIdentify;

    class SPageService : public QObject
    {
        Q_OBJECT
    public:
        explicit SPageService(QObject *parent = nullptr);
        virtual ~SPageService();

        Q_INVOKABLE void start(QString imageUrl);

    signals:
        void end(int pageNum);

    private:
        SPageIdentify* mpPageIdentify = nullptr;
    };
}

#endif // SPAGESERVICE_H
